#pragma once

#include "BaseEntity.h"
#include <SFML/System.hpp>
#include <SFML/Graphics.hpp>
#include <iostream>
#include "EntityManager.h"

class Turret : public BaseEntity
{
private:
	float SpinDir;
	bool Created;
	sf::Sprite sprTurret;
	float LastFire;
	float LastMiniFire;
public:
	Turret(sf::RenderWindow *App);
	~Turret(void);
	static void FireShell(BaseEntity* ent);
	static void SetEnemy(BaseEntity* ent);
	void Think();
	void Draw();
};